<templateSet group="git_snippets">
  <template name="git update-index" value="git update-index should do what you want&#10;&#10;#This will tell git you want to start ignoring the changes to the file&#10;git update-index --assume-unchanged path/to/file&#10;&#10;#When you want to start keeping track again&#10;git update-index --no-assume-unchanged path/to/file" description="exclude file from index" toReformat="false" toShortenFQNames="true">
    <context>
      <option name="Bash" value="true" />
    </context>
  </template>
  <template name="git rm" value="# 1.If you want to push a deleted file to remote&#10;git add 'deleted file name'&#10;&#10;git commit -m'message'&#10;&#10;git push -u origin branch&#10;&#10;# 2. If you want to delete a file from remote and locally&#10;git rm 'file name'&#10;&#10;git commit -m'message'&#10;&#10;git push -u origin branch&#10;&#10;# 3. If you want to delete a file from remote only&#10;git rm --cached 'file name'&#10;&#10;git commit -m'message'&#10;&#10;git push -u origin branch" description="delete from repository" toReformat="false" toShortenFQNames="true">
    <context>
      <option name="Bash" value="true" />
    </context>
  </template>
</templateSet>